package active.visitor;

public class ClientVisitor {


    public static void main(String[] args) {
        Person.Man man = new Person.Man();
        Person.Woman woman = new Person.Woman();
        ObjectStructors objectStructors = new ObjectStructors();
        objectStructors.attach(man);
        objectStructors.attach(woman);

        objectStructors.display(new Success());
        objectStructors.display(new Fail());
        objectStructors.display(new Wait());
    }

}
